﻿/*==========================RESIDUOS del PACIFICO ====================*/

:root {
    --petrol-900: #0A2E2F;
    --petrol-700: #0F3D3E;
    --petrol-500: #175255;
    --amber-500: #E8A33D;
    --amber-700: #B87A20;
    --clay-600: #C1502E;
    --paper: #F3EFE6;
    --paper-2: #EAE4D6;
    --ink: #1D2321;
    --ink-soft: #55534C;
    --line: #D8D1BF;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.rp-root {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

    .rp-root h1, .rp-root h2, .rp-root h3 {
        font-family: 'Archivo', sans-serif;
        letter-spacing: -0.01em;
    }

    .rp-root a {
        color: inherit;
        text-decoration: none;
    }

    .rp-root .wrap {
        max-width: 1120px;
        margin: 0 auto;
        padding: 0 32px;
    }

    .rp-root .mono {
        font-family: 'IBM Plex Mono', monospace;
    }

    /* ---------- brand strip (solo para el demo, quitar al integrar) ---------- */
    .rp-root .brandbar {
        background: var(--petrol-900);
        color: var(--paper);
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 10px 0;
    }

        .rp-root .brandbar .wrap {
            display: flex;
            justify-content: space-between;
            opacity: 0.7;
        }

    /* ---------- header ---------- */
    .rp-root header {
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        position: sticky;
        top: 0;
        z-index: 10;
        transition: box-shadow .2s ease;
    }

        .rp-root header.rp-scrolled {
            box-shadow: 0 2px 10px rgba(10,46,47,0.08);
        }

        .rp-root header .wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 18px;
            padding-bottom: 18px;
        }

    .rp-root .logo-lockup {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .rp-root .logo-lockup .name {
            font-family: 'Archivo', sans-serif;
            font-weight: 800;
            font-size: 17px;
            line-height: 1.15;
            color: var(--petrol-900);
        }

        .rp-root .logo-lockup .tag {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10.5px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--ink-soft);
        }

    .rp-root nav {
        display: flex;
        gap: 28px;
        font-size: 14px;
        font-weight: 500;
        color: var(--petrol-900);
    }

        .rp-root nav a.rp-active {
            color: var(--clay-600);
        }

    .rp-root .cta-btn {
        background: var(--petrol-700);
        color: var(--paper);
        padding: 11px 20px;
        border-radius: 2px;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0.02em;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: none;
        cursor: pointer;
        font-family: 'IBM Plex Sans', sans-serif;
    }

        .rp-root .cta-btn.ghost {
            background: transparent;
            border: 1px solid var(--petrol-700);
            color: var(--petrol-700);
        }

    .rp-root .nav-toggle {
        display: none;
        background: none;
        border: 1px solid var(--petrol-700);
        border-radius: 2px;
        width: 38px;
        height: 38px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

        .rp-root .nav-toggle span, .rp-root .nav-toggle span::before, .rp-root .nav-toggle span::after {
            content: '';
            display: block;
            width: 18px;
            height: 2px;
            background: var(--petrol-900);
            position: relative;
            transition: transform .2s ease, opacity .2s ease;
        }

            .rp-root .nav-toggle span::before {
                position: absolute;
                top: -6px;
            }

            .rp-root .nav-toggle span::after {
                position: absolute;
                top: 6px;
            }

        .rp-root .nav-toggle.rp-open span {
            background: transparent;
        }

            .rp-root .nav-toggle.rp-open span::before {
                transform: translateY(6px) rotate(45deg);
            }

            .rp-root .nav-toggle.rp-open span::after {
                transform: translateY(-6px) rotate(-45deg);
            }

    /* hazard stripe divider — elemento de firma */
    .rp-root .stripe {
        height: 8px;
        background: repeating-linear-gradient(-45deg, var(--amber-500), var(--amber-500) 14px, var(--petrol-900) 14px, var(--petrol-900) 28px);
    }

    /* ---------- hero ---------- */
    .rp-root .hero {
        padding: 74px 0 64px;
        background: var(--paper);
        max-width: none;
        margin: 0;
        display: block;
    }

        .rp-root .hero .wrap {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 56px;
            align-items: center;
        }

    .rp-root .eyebrow {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--clay-600);
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .rp-root .eyebrow::before {
            content: '';
            width: 22px;
            height: 2px;
            background: var(--clay-600);
            display: inline-block;
        }

    .rp-root .hero h1 {
        font-size: 44px;
        font-weight: 800;
        line-height: 1.06;
        color: var(--petrol-900);
        margin-bottom: 22px;
    }

        .rp-root .hero h1 em {
            font-style: normal;
            color: var(--clay-600);
        }

    .rp-root .hero p.lead {
        font-size: 16.5px;
        color: var(--ink-soft);
        max-width: 480px;
        margin-bottom: 30px;
    }

    .rp-root .hero .actions {
        display: flex;
        gap: 14px;
        margin-bottom: 36px;
    }

    .rp-root .trust-row {
        display: flex;
        gap: 28px;
        padding-top: 26px;
        border-top: 1px solid var(--line);
    }

        .rp-root .trust-row .item {
            font-size: 12.5px;
            color: var(--ink-soft);
        }

            .rp-root .trust-row .item strong {
                display: block;
                font-family: 'Archivo',sans-serif;
                font-size: 20px;
                color: var(--petrol-900);
                font-weight: 700;
            }

    .rp-root .hero-panel {
        background: var(--petrol-900);
        border-radius: 4px;
        padding: 30px;
        color: var(--paper);
        position: relative;
        overflow: hidden;
    }

        .rp-root .hero-panel .manifest-label {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--amber-500);
            margin-bottom: 16px;
        }

        .rp-root .hero-panel .manifest-row {
            display: flex;
            justify-content: space-between;
            font-size: 13.5px;
            padding: 11px 0;
            border-bottom: 1px solid rgba(243,239,230,0.14);
        }

            .rp-root .hero-panel .manifest-row span:first-child {
                color: rgba(243,239,230,0.6);
            }

        .rp-root .hero-panel .seal {
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(232,163,61,0.12);
            border: 1px dashed var(--amber-500);
            border-radius: 3px;
            padding: 14px;
        }

            .rp-root .hero-panel .seal .txt {
                font-size: 12px;
                color: var(--paper);
                line-height: 1.45;
            }

                .rp-root .hero-panel .seal .txt strong {
                    color: var(--amber-500);
                    display: block;
                    font-size: 13px;
                    margin-bottom: 2px;
                }

    /* ---------- services ---------- */
    .rp-root .services {
        padding: 72px 0;
        background: var(--paper-2);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .rp-root .section-head {
        max-width: 560px;
        margin-bottom: 44px;
    }

        .rp-root .section-head .eyebrow {
            color: var(--petrol-700);
        }

            .rp-root .section-head .eyebrow::before {
                background: var(--petrol-700);
            }

        .rp-root .section-head h2 {
            font-size: 30px;
            color: var(--petrol-900);
            font-weight: 800;
        }

    .rp-root .grid5 {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 1px;
        background: var(--line);
        border: 1px solid var(--line);
    }

    .rp-root .svc {
        background: var(--paper-2);
        padding: 28px 26px;
        min-height: 190px;
        display: flex;
        flex-direction: column;
    }

        .rp-root .svc .num {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 12px;
            color: var(--amber-700);
            margin-bottom: 14px;
        }

        .rp-root .svc h3 {
            font-size: 16.5px;
            color: var(--petrol-900);
            font-weight: 700;
            margin-bottom: 10px;
        }

        .rp-root .svc p {
            font-size: 13.5px;
            color: var(--ink-soft);
        }

    /* ---------- authorization band ---------- */
    .rp-root .authband {
        padding: 64px 0;
        background: var(--petrol-900);
        color: var(--paper);
    }

        .rp-root .authband .wrap {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 56px;
            align-items: center;
        }

        .rp-root .authband .eyebrow {
            color: var(--amber-500);
        }

            .rp-root .authband .eyebrow::before {
                background: var(--amber-500);
            }

        .rp-root .authband h2 {
            font-size: 27px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .rp-root .authband p {
            font-size: 14.5px;
            color: rgba(243,239,230,0.72);
            max-width: 440px;
        }

    .rp-root .authcards {
        display: flex;
        flex-direction: column;
        gap: 1px;
        background: rgba(243,239,230,0.15);
    }

    .rp-root .authcard {
        background: var(--petrol-900);
        padding: 18px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .rp-root .authcard .l {
            font-size: 13.5px;
            font-weight: 500;
        }

            .rp-root .authcard .l small {
                display: block;
                font-size: 11.5px;
                color: rgba(243,239,230,0.5);
                margin-top: 3px;
                font-weight: 400;
            }

        .rp-root .authcard .badge {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 11px;
            color: var(--amber-500);
            border: 1px solid var(--amber-500);
            padding: 4px 9px;
            border-radius: 2px;
            white-space: nowrap;
        }

    /* ---------- hours + contact ---------- */
    .rp-root .split {
        padding: 72px 0;
        background: var(--paper);
    }

        .rp-root .split .wrap {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1px;
            background: var(--line);
            border: 1px solid var(--line);
        }

    .rp-root .split-col {
        background: var(--paper);
        padding: 36px;
    }

        .rp-root .split-col h3 {
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--petrol-700);
            font-family: 'IBM Plex Mono',monospace;
            margin-bottom: 22px;
        }

    .rp-root .hours-row {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

        .rp-root .hours-row span:last-child {
            font-family: 'IBM Plex Mono',monospace;
            color: var(--ink-soft);
        }

    .rp-root .contact-row {
        display: flex;
        gap: 14px;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }

        .rp-root .contact-row .k {
            color: var(--ink-soft);
            min-width: 88px;
        }

    /* ---------- footer cta ---------- */
    .rp-root .footcta {
        background: var(--clay-600);
        color: var(--white);
        padding: 52px 0;
        text-align: center;
    }

        .rp-root .footcta h2 {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .rp-root .footcta p {
            font-size: 14.5px;
            opacity: 0.85;
            margin-bottom: 26px;
        }

        .rp-root .footcta .cta-btn {
            background: var(--petrol-900);
        }

    .rp-root footer {
        background: var(--petrol-900);
        color: rgba(243,239,230,0.55);
        padding: 26px 0;
        font-size: 12.5px;
    }

        .rp-root footer .wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    /* ---------- brand sheet (opcional, quitar al integrar) ---------- */
    .rp-root .brandsheet {
        padding: 80px 0;
        background: var(--paper-2);
        border-top: 1px solid var(--line);
    }

    .rp-root .swatches {
        display: flex;
        gap: 14px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .rp-root .swatch {
        width: 120px;
    }

        .rp-root .swatch .chip {
            height: 64px;
            border-radius: 2px;
            margin-bottom: 8px;
            border: 1px solid rgba(0,0,0,0.06);
        }

        .rp-root .swatch .lbl {
            font-family: 'IBM Plex Mono',monospace;
            font-size: 10.5px;
            color: var(--ink-soft);
        }

    .rp-root .lockups {
        display: flex;
        gap: 18px;
        margin-top: 28px;
        flex-wrap: wrap;
    }

    .rp-root .lockup-box {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 4px;
        padding: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 220px;
        min-height: 120px;
    }

        .rp-root .lockup-box.dark {
            background: var(--petrol-900);
        }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .rp-root .hero .wrap, .rp-root .authband .wrap, .rp-root .split .wrap {
        grid-template-columns: 1fr;
    }

    .rp-root .grid5 {
        grid-template-columns: 1fr 1fr;
    }

    .rp-root .hero h1 {
        font-size: 34px;
    }

    .rp-root nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: 8px 32px 16px;
    }

        .rp-root nav.rp-open {
            display: flex;
        }

        .rp-root nav a {
            padding: 12px 0;
            border-bottom: 1px solid var(--line);
        }

    .rp-root .nav-toggle {
        display: flex;
    }

    .rp-root header .wrap {
        position: relative;
    }

    /* El CTA del header se ve sobredimensionado en pantallas angostas;
       la misma acción ya está disponible en el hero y en el footer. */
    .rp-root header .cta-btn {
        display: none;
    }
}

@media (max-width: 560px) {
    .rp-root .grid5 {
        grid-template-columns: 1fr;
    }

    .rp-root .datastrip, .rp-root .trust-row {
        flex-wrap: wrap;
        gap: 16px;
    }
}
